package com.platform.car.model;

import java.util.Date;

public class Capture {

    /**
     * ID
     */
    private Integer id;

    /**
     * 车牌号
     */
    private String plate;

    /**
     * 类型（是否已经预约）
     */
    private String type;

    /**
     * 抓拍时间
     */
    private Date time;

    /**
     * 备注
     */
    private String intro;

    /**
     * 拍照图片
     */
    private String photo;

    /**
     * 状态（进门或者出门拍照）
     */
    private String status;

    /**
     * 设备编号
     */
    private String equip;

    private Integer orgId;

    public Capture() {
    }

    public Capture(String plate, String type) {
        this.plate = plate;
        this.type = type;
    }

    public Capture(String plate, String type, Date time, String intro, String status, String equip) {
        this.plate = plate;
        this.type = type;
        this.time = time;
        this.intro = intro;
        this.status = status;
        this.equip = equip;
    }

    public Capture(String plate, String type, Date time, String intro, String photo, String status, String equip) {
        this.plate = plate;
        this.type = type;
        this.time = time;
        this.intro = intro;
        this.photo = photo;
        this.status = status;
        this.equip = equip;
    }

    @Override
    public String toString() {
        return "Capture{" +
                "id=" + id +
                ", plate='" + plate + '\'' +
                ", type='" + type + '\'' +
                ", time=" + time +
                ", intro='" + intro + '\'' +
                ", photo='" + photo + '\'' +
                ", status='" + status + '\'' +
                ", equip='" + equip + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPlate() {
        return plate;
    }

    public void setPlate(String plate) {
        this.plate = plate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getEquip() {
        return equip;
    }

    public void setEquip(String equip) {
        this.equip = equip;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }
}
